package com.xmy.cultivate.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.List;

import com.xmy.cultivate.respons.AiSchoolSite;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 每个学期存在的校区
 * </p>
 *
 * @author hpiggy
 * @since 2024-08-19
 */
@Data
@TableName("school_quarter")
@ApiModel(value = "SchoolQuarter对象", description = "每个学期存在的校区")
public class SchoolQuarter implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    private Long id;

    private Integer yearPart;

    private Integer quarterNum;

    private Long schoolId;

    @ApiModelProperty("名称")
    private String schoolName;

    private Long pid;

    private Integer deleted;

    @TableField(exist = false)
    private List<AiSchoolSite> childRateList;

}
